/* Variáveis */
:root{
    --cor1: #37b1c8;
    --cor2: #3090a2;
    --cor3: #0c3f6a;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 400px;
    text-align: center;
}

.login-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #34495e;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--cor1);
}

.login-button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--cor1);
    color: #fff;
    width: 100%; /* Make button full width */
    margin-bottom: 10px; /* Space above the register button */
}

.login-button:hover {
    background-color: var(--cor2);
}

.register-button {
    padding: 12px 25px;
    border: 1px solid var(--cor1); /* Add a border */
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent; /* Transparent background */
    color: var(--cor1);
    width: 100%; /* Make button full width */
}

.register-button:hover {
    background-color: #ecf0f1; /* Light background on hover */
}

.forgot-password {
    margin-top: 15px;
    font-size: 0.9em;
}

.forgot-password a {
    color: var(--cor1);
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.temporary-message {
    position: fixed; /* Stay in a fixed position on the screen */
    top: 20px;       /* Distance from the top */
    left: 50%;      /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    background-color: #4CAF50; /* Default success background */
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 1000;   /* Ensure it's on top of other elements */
    opacity: 0;       /* Initially hidden */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Fade and slide */
    transform: translateX(-50%) translateY(-20px); /* Hidden above the screen */
    white-space: nowrap; /* Prevent text from wrapping */
}

.temporary-message.show {
    opacity: 1;      /* Fade in */
    transform: translateX(-50%) translateY(0); /* Slide into view */
}

.temporary-message.error {
    background-color: #f44336; /* Error background */
}